﻿<?php
	/*
	* 用户与角色模型
	*/


class ContentViewModel extends ViewModel{
    public $viewFields = array(
        'content'=>array('id','con_title','con_pic','add_time','con_category','con_content','adder_name','count','con_video','con_file','video_old_name','file_old_name','security','accept'),
        'category'=>array('name','pid','_on'=>'content.con_category=category.en_name'),
    );
}
?>